package cn.tedu.community.commons.pojo.user.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户登录DTO
 */
@Data
public class UserLoginDTO implements Serializable {
    @NotNull(message = "请输入您的用户名或手机号！")
    @NotEmpty(message = "请输入您的用户名或手机号！")
    private String userName;

    @NotNull(message = "请输入密码！")
    @NotEmpty(message = "请输入密码！")
    private String userPassword;

    private Boolean userRem;

}
